﻿<Window x:Class="ImageTagTool.Settings"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Settings" Height="390" Width="581">
    <Grid>
        <TabControl Height="315" HorizontalAlignment="Left" Name="tabControl1" VerticalAlignment="Top" Width="559">
            <TabItem Header="General" Name="tabItem1">
                <Grid />
            </TabItem>
            <TabItem Header="Default folder">
                <Grid Height="269" Name="grid1" Width="537">
                    <RadioButton GroupName="df" Content="Remember last used folder" Height="16" HorizontalAlignment="Left" Margin="72,76,0,0" Name="rbRemember" VerticalAlignment="Top" IsChecked="{Binding Path=RememberLastUsedFolderChecked, Mode=OneWay}" />
                    <RadioButton GroupName="df" Content="" Height="16" HorizontalAlignment="Left" Margin="72,115,0,0" Name="rbSetFolder" VerticalAlignment="Top" IsChecked="{Binding Path=ActualFolderChecked, Mode=OneWay}"/>
                    <Label Content="Default folder (when you open)" Height="28" HorizontalAlignment="Left" Margin="52,16,0,0" Name="label1" VerticalAlignment="Top" />
                    <TextBox Height="23" HorizontalAlignment="Left" Margin="92,111,0,0" Name="txtFolderPath" VerticalAlignment="Top" Width="214" IsReadOnly="True" Text="{Binding Path=ActualFolderPath, Mode=OneWay}"/>
                    <Button Content="Browse" Height="23" HorizontalAlignment="Left" Margin="312,111,0,0" Name="btnBrowse" VerticalAlignment="Top" Width="75" Click="btnBrowse_Click" IsEnabled="{Binding Path=ActualFolderChecked, Mode=OneWay}"/>
                </Grid>
            </TabItem>
            <TabItem Header="Image format">
                <Grid Height="274" Name="grid2" Width="534">
                    <Label Content="List of formats used" Height="28" HorizontalAlignment="Left" Margin="24,6,0,0" Name="label2" VerticalAlignment="Top" />
                    <CheckBox Content="JPG" Height="16" HorizontalAlignment="Left" Margin="24,49,0,0" Name="cbJPG" VerticalAlignment="Top" IsChecked="{Binding Path=JPG, Mode=OneWay}" />
                    <CheckBox Content="BMP" Height="16" HorizontalAlignment="Left" Margin="24,71,0,0" Name="cbBMP" VerticalAlignment="Top" IsChecked="{Binding Path=BMP, Mode=OneWay}"/>
                    <CheckBox Content="PNG" Height="16" HorizontalAlignment="Left" Margin="24,93,0,0" Name="cbPNG" VerticalAlignment="Top" IsChecked="{Binding Path=PNG, Mode=OneWay}"/>
                </Grid>
            </TabItem>
            <TabItem Header="Print">
                <Grid Height="270" Name="grid3" Width="537">
                    <TextBox Height="23" HorizontalAlignment="Left" Margin="75,64,0,0" Name="txtMarginTop" VerticalAlignment="Top" Width="30" Text="{Binding Path=MarginTop, Mode=OneWay}" />
                    <TextBox Height="23" HorizontalAlignment="Left" Margin="45,93,0,0" Name="txtMarginLeft" VerticalAlignment="Top" Width="30" Text="{Binding Path=MarginLeft, Mode=OneWay}" />
                    <TextBox Height="23" HorizontalAlignment="Left" Margin="107,93,0,0" Name="txtMarginRight" VerticalAlignment="Top" Width="30" Text="{Binding Path=MarginRight, Mode=OneWay}" />
                    <TextBox Height="23" HorizontalAlignment="Left" Margin="75,122,0,0" Name="txtMarginBottom" VerticalAlignment="Top" Width="30" Text="{Binding Path=MarginBottom, Mode=OneWay}" />
                    <Label Content="Print margins" Height="28" HorizontalAlignment="Left" Margin="6,6,0,0" Name="label5" VerticalAlignment="Top" />
                    <Label Content="Top" Height="28" HorizontalAlignment="Left" Margin="75,39,0,0" Name="label6" VerticalAlignment="Top" />
                    <Label Content="Bottom" Height="28" HorizontalAlignment="Left" Margin="75,143,0,0" Name="label7" VerticalAlignment="Top" />
                    <Label Content="Left" Height="28" HorizontalAlignment="Left" Margin="9,91,0,0" Name="label8" VerticalAlignment="Top" />
                    <Label Content="Right" Height="28" HorizontalAlignment="Left" Margin="143,91,0,0" Name="label9" VerticalAlignment="Top" />
                </Grid>
            </TabItem>
            <TabItem Header="Other">
                <Grid Height="271" Name="grid4" Width="536">
                    <CheckBox Content="Allow ImageTagTool update" Height="16" HorizontalAlignment="Left" Margin="14,20,0,0" Name="cbUpdate" VerticalAlignment="Top" IsChecked="{Binding Path=AllowUpdate, Mode=OneWay}"/>
                </Grid>
            </TabItem>
        </TabControl>
        <Button Content="Cancel" Height="23" HorizontalAlignment="Right" Margin="0,321,12,0" Name="button5" VerticalAlignment="Top" Width="75" Command="{Binding CancelButtonClicked}"/>
        <Button Content="OK" Height="23" HorizontalAlignment="Left" Margin="391,321,0,0" Name="button6" VerticalAlignment="Top" Width="75" Command="{Binding OkButtonClicked}"/>
    </Grid>
</Window>
